﻿@namespace BootstrapBlazor.Components
@inherits FilterBase

@if (IsHeaderRow)
{
    <Select Items="@Items" @bind-Value="@Value" OnSelectedItemChanged="_ => OnFilterValueChanged()" IsPopover="true"></Select>
}
else
{
    <Select Items="@Items" @bind-Value="@Value"></Select>

    @if (Count > 0)
    {
        <FilterLogicItem @bind-Logic="Logic"></FilterLogicItem>

        <Select Items="@Items" @bind-Value="@Value2"></Select>
    }
}
